/*
 * HalcyonInit.cpp
 *
 * Created: 05.05.2012 23:19:21
 *  Author: Maxim Karban <maxim.karban@gmail.com>
 */ 

#include <avr/interrupt.h>

#include "frsky.h"
#include "bosch_pressure.h"
#include "mma7455.h"
#include "sys_events.h"
#include "gps.h"
#include "uart.h"
#include "debug.h"

void initHW(){
#if defined(GPS)  
  gpsInit();
#endif //GPS

#if defined(BARO)
  BSInit();
  BSReadCal();
#endif //BARO

#if defined(ACCEL)
  MMAInit();
#endif //ACCEL

  frSkyInit();

  //debug_pin_setup;
  
  timer1Init();
}